package bingo.codeweaver.core.strategy;

/**
 * Mar 7, 2009 12:45:05 PM NamingStrategy.java
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:
 * ChangeLog:
 */
public interface NamingStrategy {
	
	String toClassName(String tableName);
	
	
	String toPropertyName(String columnName);
	
	/**
	 * Return a table name for an entity class
	 * @param className the fully-qualified class name
	 * @return a table name
	 */
	String toTableName(String className);
	/**
	 * Return a column name for a property path expression
	 * @param propertyName a property path
	 * @return a column name
	 */
	String toColumnName(String propertyName);

}
